import request from '../utilis/requet'
// 注册接口
export const useregister=({username,password,repassword})=>{
    return request.post('/api/reg',{username,password,repassword})
}
// 登录接口
export const userlogin=({username,password})=>{
    return request.post('/api/login',{username,password})
}
// 个人信息接口
export const userGetInfoService =(token)=>{
    return request.get('/my/userinfo')
}